var http = require('http');
var url = require('url');
var module = require('./module.js');

var config = module.config();
const hostname = config.hostname;
const port = config.port;

const server = http.createServer((req, res) => {
	res.statusCode = 200;
	res.setHeader('Content-Type', 'text/plain');
	res.end('Hello http\n');
});


server.listen(port,hostname,()=>{
	console.log('Server running '+ hostname + ' ' + port);
})





